﻿@using Nop.Web.Framework
@using Nop.Services.Localization
@using System.Web.Mvc
@using System.Globalization
@using Nop.Core.Domain.Media

@model IList<Nop.Web.Models.Media.SlideshowModel>

@foreach (var s in Model)
{
    if (s.PictureLinks.Count > 0)
    {
            <ul class="advertisement-list">
                @*
                @foreach (var p in s.PictureLinks)
                {
                    <li><a href='@p.Url'>
                        <img alt='@p.AlternateText' title="@p.Title" src='@p.FullSizeImageUrl' width="100%" />
                    </a></li>
                }
                *@
                
            </ul>
    }

}
@*
<div id="promotion-images" class="col-xxs-12 col-xs-12 col-sm-3 col-md-3 col-lg-3">
    <div class="promotion-image"><a href='@Url.RouteUrl("Topic", new { SystemName = "SellWithUs" })'><span><i class="fa fa-bullhorn"></i></span><h2>SELL ONLINE WITH <span style="text-transform:initial;">SpotsHUB</span></h2><p>FREE and easy to start</p></a></div>
    <div class="promotion-image"><a href='@Url.RouteUrl("Topic", new { SystemName = "Shipping" })'><span><i class="fa fa-tachometer"></i></span><h2>Free shipping on all purchases</h2><p>No minimum purchase required</p></a></div>
</div>
*@
<div class="home-slide-content-block">
    <div class="home-tracking-block">
        @Html.Action("TrackForm", "Shipment", new { area = "logistics" })
    </div>
    <!--
    <div class="home-pricing-estimation block">
        <h4>Find a rate</h4>
        <p>Click <strong><a href="@Url.RouteUrl("TopicStatic", new { actionName = "ShippingRegulation" })">here</a></strong> for more information.</p>
        <a class="button" href="@Url.Action("CalculateShippingRate", "Rate", new { area = "logistics" })"><i class="fa fa-usd"></i> Find</a>
    </div>
    -->
    <div class="home-customer-service block">
        <h4>Need for support</h4>
        <p>Just call, email, or write to us.</p>
        <a class="button" href="/contactus"><i class="fa fa-users"></i> Go</a>
    </div>
    <div class="promotion-image"><a href='@Url.RouteUrl("Topic", new { SystemName = "Shipping" })'><span><i class="fa fa-tachometer"></i></span><h2>Free shipping on all purchases</h2><p>No minimum purchase required</p></a></div>
</div>
